package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼盘管理对象 td_dish
 * 
 * @author lpz
 * @date 2025-01-02
 */
public class TdDish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private String name;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal price;

    /** 链接 */
    @Excel(name = "链接")
    private String image;

    /** 城市 */
    @Excel(name = "城市")
    private String description;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date propertyDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cteateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPropertyDate(Date propertyDate)
    {
        this.propertyDate = propertyDate;
    }

    public Date getPropertyDate() 
    {
        return propertyDate;
    }
    public void setCteateTime(Date cteateTime)
    {
        this.cteateTime = cteateTime;
    }

    public Date getCteateTime()
    {
        return cteateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("price", getPrice())
            .append("image", getImage())
            .append("description", getDescription())
            .append("propertyDate", getPropertyDate())
            .append("cteateTime", getCteateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
